import spring.framework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @author fun.pengzh
 * @class PACKAGE_NAME.UserServiceBeforeAdvice
 * @desc
 * @since 2021-11-21
 */
public class UserServiceBeforeAdvice implements MethodBeforeAdvice {

    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("拦截方法：" + method.getName());
    }


}
